package com.wpw.dream.annotations;

@Table("user")
public class User {

	@Column(value = "id", type="bigint")
	@NotNull
	private Long id;
	
	@Column(value = "name", type = "varchar")
	private String name;
	
	@Column(value = "age", type = "int")
	private Integer age;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	
	
}
